projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3c27e5
)
Avoid warnings about 'image-scaling-factor' in builds --without-x
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 6 Mar 2025 13:49:27 +0000
(15:49 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 6 Mar 2025 13:49:27 +0000
(15:49 +0200)
* lisp/cus-start.el (standard): Exclude 'image-*' options if Emacs
was built without GUI support. (Bug#76716)
lisp/cus-start.el
patch
|
blob
|
history
diff --git
a/lisp/cus-start.el
b/lisp/cus-start.el
index 0f7d7c3c02018f1c061d34515deb4b878f0e10b2..91cc6e2215215f469cd59df4a76c787c33bf4fdb 100644
(file)
--- a/
lisp/cus-start.el
+++ b/
lisp/cus-start.el
@@
-908,6
+908,8
@@
since it could result in memory overflow and make Emacs crash."
(fboundp 'x-create-frame))
((string-match "tab-bar-" (symbol-name symbol))
(fboundp 'x-create-frame))
+ ((string-match "image-" (symbol-name symbol))
+ (fboundp 'x-create-frame))
((equal "vertical-centering-font-regexp"
(symbol-name symbol))
;; Any function from fontset.c will do.